<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of EPartecipation
 *
 * @author andrea
 */
class EPartecipations_vidwiz extends Entity_vidwiz {
    public $userid;
    public $videoid;
    public $contestid;
    public $id;
    public $user_approved = "0";
    public $video_approved;
    public $placing;
    
      /**
   * 
   *
   * @param array _fields i campi ['nomecampo']=>"valore"
   * @return entities::EPartecipation
   * @access public
   */
  public function generateObject($fields) {
        foreach($this as $key => $value){
            if(isset($fields[$key]))
                $this->$key = strtolower($fields[$key]);
                }
        $this->id = "";
        $this->video_approved = "0";
        $this->placing = "0";
        return $this;
    }
}

?>
